 @section('title')
    找律师 @parent
@show

@section('content')      
<div class="navbar theme-white">
		<div class="navbar-inner">
				<div class="left"><a href="{{ route('group.index', $sns_group->id) }}" class="external icon-only link"> <i class="icon icon-back"></i></a></div>
				<div class="center sliding">{{ $sns_group->group_name }}</div>
                <div class="right"><a  href="#" class="btn-submit">发布</a></div>
		</div>
</div>

<div class="pages navbar-through toolbar-through">
    <div data-page="group-create-post" class="page">
        <div class="page-content">
            <div class="list-block">
                <form method="post" id="frm" action="<?php echo URL::route('group.storepost', $sns_group->id); ?>" enctype="application/x-www-form-urlencoded">
										<input type="hidden" name="contact"  id="contact" class="input-control" value="<?php echo $me->email; ?>">
                    <ul class="ask">
                        <li>
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-input input-box">
                                         <textarea name="content" class="input-control" placeholder="帖子内容"></textarea>
                                         <!--<p class="position"><i class="icon-position"></i><span>武汉</span></p>-->
                                    </div>
                                </div>
                            </div>
                        </li>
						<li>
							<div class="item-content" style="width:100%">
								<div class="item-inner">
									<div id="upload_wrapper" style="width:100%">
										<ul id="perviewList"></ul>
									</div>                                   
								</div>
							</div>
                            <div class="item-content" style="width:100%">
                                <div class="item-inner">
                                    <div style="width:10em;position:relative;height:3em;background: #f5696c;">
                                        <div style="color:#FFF;text-align:center;font-weight:bold;line-height:3em;">拍照上传</div>
                                        <input type="file" accept="image/*;capture=camera" capture="camera" id="captureFile" name="upimg" style="width:100%;height:100%;cursor:pointer;position:absolute;outline:medium none;opacity:0;left:0;top:0">
                                    </div>
                                </div>
                            </div>
						</li>
                    </ul>
                </form>
            </div>
        </div>
    </div>
</div>
@stop